package com.aierkeji.b2c.constants;

import com.aierkeji.b2c.utils.AppConfig;

public class Contants {
	public static final String HTTP_CONTENT_TYPE_JSON = "application/json;charset=UTF-8";
	public static final String HTTP_ACCEPT_JSON = "application/json,text/javascript,*/*;q=0.01";
    public static final Integer PAGE_SIZE = 10;

    public static final String AUSER_ROLE_ADMIN = "admin";
    public static final String AUSER_ROLE_ALIPAY = "alipay";
    public static final String AUSER_ROLE_SALES = "sales";
	public static final String AUSER_ROLE_ACCESS = "access";


    public static final String BASE_URL= AppConfig.getProperty("file_server_url","http://127.0.0.1:8181/");
    
    public static final String USER_DATA_URL= BASE_URL+"user_data";

    

    /**
	 * 没有激活扣款信息
	 */
	public static final String NO_ACTIVE_MSG = "no_active_msg";
	/**
	 * 退款信息
	 */
	public static final String BACK_SMS = "back_sms";
	/**
	 * 提醒未激活信息
	 */
	public static final String TIP_SMS = "tip_sms";
	/**
	 * 激活退款信息
	 */
	public static final String ACTIVE_BACK_MSG = "active_back_msg";
	/**
	 * 归还物品退回信息
	 */
	public static final String SENT_BACK_MSG = "sent_back_msg";
	/**
	 * 租用商品成功信息
	 */
	public static final String PAY_ISSUE_MSG = "pay_issue_msg";
	
	
	public static final String LOGIN_URL="https://openauth.alipay.com/oauth2/publicAppAuthorize.htm?app_id=${appId}&scope=auth_base&redirect_uri=${redirect_uri}";

	
	
	
}
